package org.lanqiao.tjut.service.impl;

import java.util.List;

import org.lanqiao.tjut.bean.UserEntity;
import org.lanqiao.tjut.dao.IUserInfoDao;
import org.lanqiao.tjut.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userInfoService")
public class UserInfoService implements IUserInfoService {

	@Autowired
	private IUserInfoDao userInfoDao;

	@Override
	public List<UserEntity> selectAllUserInfo() {

		return userInfoDao.selectAllUserInfo();
	}

	@Override
	public int insertUsersInfo(UserEntity userE) {
		
		return userInfoDao.insertUsersInfo(userE);
	}

	@Override
	public int deleteUsersInfo(UserEntity userE) {
		
		return userInfoDao.deleteUsersInfo(userE);
	}

	@Override
	public int updateUsersInfo(UserEntity userE) {
		
		return userInfoDao.updateUsersInfo(userE);
	}

}
